package com.example.chirdrenserver.Service.AdminService;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chirdrenserver.Pojo.dto.BasePage;
import com.example.chirdrenserver.Pojo.dto.admin.AdminPostUpdateDTO;
import com.example.chirdrenserver.Pojo.entity.Post;
import com.example.chirdrenserver.Pojo.vo.admin.AdminPostVO;

import java.util.Collection;
import java.util.List;

/**
 * @Author Yu
 * @Description
 * @Date $ $
 **/
public interface AdminPostService extends IService<Post> {

    Collection<AdminPostVO> listPost(BasePage basePage);

    AdminPostVO getInfoById(Integer id);

    void delete(Integer id);

    void updatePost(AdminPostUpdateDTO postUpdateDTO);

    Collection<AdminPostVO> getPostLike(String postTit);
}
